How to share files with Linux apps on Chrome OS

您所在的位置:网站首页 linux apps on chrome os How to share files with Linux apps on Chrome OS

How to share files with Linux apps on Chrome OS

2023-08-09 22:11| 来源: 网络整理| 查看: 265

Account Information Share with Your Friends

How to share files with Linux apps on Chrome OS

Image of Jack Wallen by Jack Wallen in Mobility on November 17, 2020, 2:52 PM PST How to share files with Linux apps on Chrome OS

With Linux apps installed on your Chromebook, you might have discovered that software cannot access files within the ChromeOS directories. Let's fix that.

Open source: Must-read coverage 6 Best Linux project management software in 2023 6 best open-source kanban boards for managing projects in 2023 6 Best Free Alternatives to Microsoft Word (2023 Update) How to Edit the Linux Hosts File

If you own a Chromebook, and you’ve enabled and installed Linux apps, you might have come across a situation where you find you can’t open files from your Chromebook directories with those newly installed apps. Why would you even want to do this? For example: Say you’d like to do some development on your Chromebook, via the Linux terminal window and want to access files either from within Google Drive or Downloads.

Unless you make the Linux subsystem aware of those folders, you won’t be unable to access the documents contained within. Why is this the case? Because the Linux apps you’ve installed on your Chromebook are sandboxed from Chrome OS, which means they are isolated from other apps and the Chrome OS directory structure.

Fear not, you can easily make your directories available to Linux apps with just a couple of clicks.

Let me show you how.

SEE: TechRepublic Premium editorial calendar: IT policies, checklists, toolkits, and research for download (TechRepublic Premium)

How to share files with Linux apps on Chrome OS Open the My Files app. From within that app, locate the directory housing the documents you want accessible by the installed Linux apps. Right-click or double-finger tap the folder in question and then select Share With Linux. The sharing happens immediately. Once it’s done, open the Linux terminal window and issue the command: cd /mnt/chromeos/MyFiles/

5. Issue the ls command and you should see the folder that you shared listed. 6. Change into that folder with a command like cd Downloads and you can then access any of the files within.

Of course, you can access those files from within other applications, such as The GIMP, so it’s not limited to command line only usage.

And that’s all there is to sharing your ChromeOS directories with the sandboxed Linux applications. Enjoy that newfound connection.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know.

Delivered Tuesdays and Thursdays Sign up today Image: Jack Wallen Jack Wallen Published:  November 17, 2020, 2:52 PM PST Modified:  August 3, 2020, 7:35 AM PDT See more Mobility Also See Wi-Fi 6: A cheat sheet (TechRepublic) Microsoft Surface Book 3: A cheat sheet (free PDF) (TechRepublic) Hiring Kit: Application engineer (TechRepublic Premium) The 10 best smartphones you can buy right now (ZDNet) Smartphones and mobile tech: More must-read coverage (TechRepublic on Flipboard)


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3